package cn.rongdao.jrkabao.ui.main.mainfragment.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.main.personal.PersonItemInfoBean;
import cn.rongdao.jrkabao.ui.main.mainfragment.personal.PersonItemInfoUIComponent;

/**
 * Created by jack on 17/5/10
 */

public class PersonalViewHolder extends FRBaseRecyclerViewHolder<PersonItemInfoBean> {

    private PersonItemInfoUIComponent personItemInfoUIComponent;

    PersonalViewHolder(View view) {
        super(view);
        personItemInfoUIComponent = findView(R.id.ip_rl_main);
    }

    @Override
    protected void onItemDataUpdated(PersonItemInfoBean personalBean) {
        personItemInfoUIComponent.setContent(personalBean);
    }
}